<%-- 
    Document   : DonDatHang
    Created on : May 8, 2011, 3:26:05 PM
    Author     : MongKieu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<div style="padding-top:10px; padding-left:10px; clear:both; height:auto">
    <div style="cursor:pointer;width:auto;border-bottom:#d6d6d6 1px dotted;" >
        <h3>XÁC NHẬN ĐƠN HÀNG</h3>
    </div>
    <div style="background-color:#f4efef;width:auto; padding-bottom:3px; padding-top:2px; height:16px" >
        <b>Thông tin đơn hàng</b>
    </div>
    <span><br /><b>Mã số đơn hàng: MKN5575752500</b></span><br>
    <div style="width:auto;border-bottom:#d6d6d6 1px solid;" > &nbsp;</div>
    <br/>
    <b>Thanh toán:  </b>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
                <B>Thẻ ATM do Ngân hàng Đông Á phát hành: </B>
            </FONT>
            <br>
    </TEXTFORMAT>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
                Chủ thẻ: Nguyễn Hữu Nam
            </FONT>
            <br>
    </TEXTFORMAT>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
                Số TK  : 0101 020 393
            </FONT>
            <br>
    </TEXTFORMAT>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"></FONT>
            <br>
    </TEXTFORMAT>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
                Khách hàng ở nước ngoài chuyển khoản quốc tế
            </FONT>
            <br>
    </TEXTFORMAT>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
                <B>Bank: DONG A</B>
            </FONT>
            <br>
    </TEXTFORMAT>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
                <B>Account Name: NGUYEN HUU NAM</B>
            </FONT><br>
    </TEXTFORMAT>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
                <B>Account No.: 0101020393</B>
            </FONT>
        <br></TEXTFORMAT>
    <TEXTFORMAT LEADING="2">
        <P ALIGN="LEFT">
            <FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
                <B>Swift code: EACBVNVX</B>
            </FONT>
            <br>
    </TEXTFORMAT>
    <br>
    <b>Email liên hệ: </b>${DonDatHang.khachHang.email}<br>
    <b>Tên: </b>${DonDatHang.khachHang.hoTen}<br>
    <b>Địa chỉ liên hệ: </b>${DonDatHang.khachHang.diaChi.tenDiaChi}<br>
    <b>Địa chỉ giao hàng: </b>${DonDatHang.khachHang.diaChi.diaChiGiaoHang}<br>
    <b>Quốc gia: </b>${DonDatHang.khachHang.diaChi.quocGia}<br>
    <b>Thành phố: </b>${DonDatHang.khachHang.diaChi.tinhThanhPho}<br>
    <b>Quận/huyện: </b>${DonDatHang.khachHang.diaChi.quanHuyen}<br>
    <b>Điện thoại: </b>${DonDatHang.khachHang.dienThoai}<br>
    <b>Mã vùng: </b>${DonDatHang.khachHang.diaChi.maVung}<br>
    <b>Châu lục: </b>${DonDatHang.khachHang.diaChi.chauLuc.tenChauLuc}<br>
    <b>Tiền thanh toán: </b>VND<br>
    <div style="width:auto;border-bottom:#d6d6d6 1px solid;" > &nbsp;</div>
    <br/>
    <c:forEach var="sanPham" items="${listSanPham}" varStatus="STT">
        <table style="padding-top:1px; ">
            <tr><td valign="top" width="50px" height="60px"><img src="${sanPham.hinhAnhMinhHoa}" class="frameSmall"/></td>
                <td valign="top"><span style="color:black"><B>${sanPham.tenSanPham}</B> (${sanPham.nhaXuatBan.tenNhaSanXuat})</span><br /><br />
                    <b>Giá: <span style="color:#8a3c3d">${sanPham.giaBanHienTai} đ</span></b> x ${sanPham.soLuongDangCo}
                </td></tr>
            <tr><td colspan="2"></td></tr>
        </table>
    </c:forEach>
    <br />
    <table width="100%">
        <tr><td valign="top"><span style="font-size:medium; font-weight:bold; color:black">Tổng cộng: ${TongTien} VNĐ</span></td></tr>
    </table>
    <div style="width:auto;border-bottom:#d6d6d6 1px solid;" > &nbsp;</div>
    <br />
    <center>

        <a href="simpleReport.pdf">Pre-Compiled Report File</a>
        <a href="TrangChu.htm">Trở về mua hàng</a>
        <a href="GoiDonDatHang.htm">Xác nhận gởi hàng</a>
    </center>
</div>
